
import org.antlr.runtime.*;
import maquinasam.*;

//import es.etsii.pl.P6_Flexer.TParser.a_return;


/**
 * Test driver program for the ANTLR3 Maven Architype demo
 *
 * @author Jim Idle (jimi@temporal-wave.com)
 */
public class MainSAM {
 	public static void main(String[] args) {
 		try { //args[0] = opcion, args[1] = file
               LexSam lexer = new LexSam(new ANTLRFileStream(args[0]));
               CommonTokenStream ytokens = new CommonTokenStream(lexer);
               SinSam parser = new SinSam(ytokens);
               parser.entrada();
         } catch (Exception e) {
        	e.printStackTrace();
         }
 	} //main
}

